Optimal. Leaf size=68 \[ -\frac {6 \sqrt {-1+a x} \sqrt {1+a x}}{a}+6 x \cosh ^{-1}(a x)-\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{a}+x \cosh ^{-1}(a x)^3 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5879, 5915, 75}
\begin {gather*} -\frac {6 \sqrt {a x-1} \sqrt {a x+1}}{a}+x \cosh ^{-1}(a x)^3-\frac {3 \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)^2}{a}+6 x \cosh ^{-1}(a x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 75
Rule 5879
Rule 5915
Rubi steps
\begin {align*} \int \cosh ^{-1}(a x)^3 \, dx &=x \cosh ^{-1}(a x)^3-(3 a) \int \frac {x \cosh ^{-1}(a x)^2}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx\\ &=-\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{a}+x \cosh ^{-1}(a x)^3+6 \int \cosh ^{-1}(a x) \, dx\\ &=6 x \cosh ^{-1}(a x)-\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{a}+x \cosh ^{-1}(a x)^3-(6 a) \int \frac {x}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx\\ &=-\frac {6 \sqrt {-1+a x} \sqrt {1+a x}}{a}+6 x \cosh ^{-1}(a x)-\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{a}+x \cosh ^{-1}(a x)^3\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 68, normalized size = 1.00 \begin {gather*} -\frac {6 \sqrt {-1+a x} \sqrt {1+a x}}{a}+6 x \cosh ^{-1}(a x)-\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{a}+x \cosh ^{-1}(a x)^3 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.78, size = 61, normalized size = 0.90
method | result | size |
derivativedivides | \(\frac {\mathrm {arccosh}\left (a x \right )^{3} a x -3 \mathrm {arccosh}\left (a x \right )^{2} \sqrt {a x -1}\, \sqrt {a x +1}+6 a x \,\mathrm {arccosh}\left (a x \right )-6 \sqrt {a x -1}\, \sqrt {a x +1}}{a}\) | \(61\) |
default | \(\frac {\mathrm {arccosh}\left (a x \right )^{3} a x -3 \mathrm {arccosh}\left (a x \right )^{2} \sqrt {a x -1}\, \sqrt {a x +1}+6 a x \,\mathrm {arccosh}\left (a x \right )-6 \sqrt {a x -1}\, \sqrt {a x +1}}{a}\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 57, normalized size = 0.84 \begin {gather*} x \operatorname {arcosh}\left (a x\right )^{3} - \frac {3 \, \sqrt {a^{2} x^{2} - 1} \operatorname {arcosh}\left (a x\right )^{2}}{a} + \frac {6 \, {\left (a x \operatorname {arcosh}\left (a x\right ) - \sqrt {a^{2} x^{2} - 1}\right )}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 90, normalized size = 1.32 \begin {gather*} \frac {a x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{3} + 6 \, a x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) - 3 \, \sqrt {a^{2} x^{2} - 1} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2} - 6 \, \sqrt {a^{2} x^{2} - 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.12, size = 63, normalized size = 0.93 \begin {gather*} \begin {cases} x \operatorname {acosh}^{3}{\left (a x \right )} + 6 x \operatorname {acosh}{\left (a x \right )} - \frac {3 \sqrt {a^{2} x^{2} - 1} \operatorname {acosh}^{2}{\left (a x \right )}}{a} - \frac {6 \sqrt {a^{2} x^{2} - 1}}{a} & \text {for}\: a \neq 0 \\- \frac {i \pi ^{3} x}{8} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 98, normalized size = 1.44 \begin {gather*} x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{3} - 3 \, a {\left (\frac {\sqrt {a^{2} x^{2} - 1} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2}}{a^{2}} - \frac {2 \, {\left (x \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) - \frac {\sqrt {a^{2} x^{2} - 1}}{a}\right )}}{a}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {acosh}\left (a\,x\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________